<extend name="Public/base"/>
<block name="body">
  <div class="fixed-bar" id="Addons_Bar">
    <div class="item-title">
      <h3>插件</h3>
      <ul class="tab-base">
        <if condition="Is_Auth('Admin/Addons/index')">
          <li><a href="{:U('Admin/Addons/index')}"><span>列表</span></a></li>
        </if>
        <if condition="Is_Auth('Admin/Addons/add')">
          <li><a class="current" href="{:U('Admin/Addons/add')}"><span>快速创建</span></a></li>
        </if>
      </ul>
    </div>
  </div>
  <form id="Addons_Form" method="post">
    <table class="table tb-type2 nobdb">
      <tbody>
        <tr>
          <td colspan="2" class="required"><label for="for_name">插件名:</label></td>
        </tr>
        <tr class="noborder">
          <td class="vatop rowform"><input name="name" type="text" class="easyui-textbox" style="height:30px;" data-options="required:false"></td>
          <td class="vatop tips"></td>
        </tr>
        <tr>
          <td colspan="2" class="required"><label for="for_name">中文名:</label></td>
        </tr>
        <tr class="noborder">
          <td class="vatop rowform"><input name="title" type="text" class="easyui-textbox" style="height:30px;" data-options="required:false"></td>
          <td class="vatop tips"></td>
        </tr>
        <tr>
          <td colspan="2" class="required"><label for="for_name">插件描述:</label></td>
        </tr>
        <tr class="noborder">
          <td class="vatop rowform"><textarea name="description" style="width:300px; height:80px;"class="easyui-textbox" data-options="required:false,multiline:true"></textarea></td>
          <td class="vatop tips"></td>
        </tr>
        <tr>
          <td colspan="2" class="required"><label for="for_name">配置:</label></td>
        </tr>
        <tr class="noborder">
          <td class="vatop rowform"><textarea name="config" style="width:300px; height:80px;"class="easyui-textbox" data-options="required:false,multiline:true"></textarea></td>
          <td class="vatop tips"></td>
        </tr>
        <tr>
          <td colspan="2" class="required"><label for="for_name">作者:</label></td>
        </tr>
        <tr class="noborder">
          <td class="vatop rowform"><input name="author" type="text" class="easyui-textbox" style="height:30px;" data-options="required:false"></td>
          <td class="vatop tips"></td>
        </tr>
        <tr>
          <td colspan="2" class="required"><label for="for_name">版本号:</label></td>
        </tr>
        <tr class="noborder">
          <td class="vatop rowform"><input name="version" type="text" class="easyui-textbox" style="height:30px;" data-options="required:false"></td>
          <td class="vatop tips"></td>
        </tr>
        <tr>
          <td colspan="2" class="required"><label for="for_name">是否有后台列表:</label></td>
        </tr>
        <tr class="noborder">
          <td class="vatop rowform"><select name="has_adminlist" class="easyui-combobox" style="height:30px;" data-options="multiple:false,required:false,editable:false">
              <option value="0" >否</option>
              <option value="1" >是</option>
            </select></td>
          <td class="vatop tips"></td>
        </tr>
      </tbody>
      <tfoot>
        <tr class="tfoot">
          <td colspan="2"><a class="easyui-linkbutton" href="JavaScript:void(0);" onclick="$('#Addons_Form').submit();" data-options="iconCls:'iconfont icon-edit'"><span style="font-size: 14px; font-weight: 600;">提交</span></a></td>
        </tr>
      </tfoot>
    </table>
  </form>
</block>
